#include "Sever.hpp"
#include <memory>

int main()
{
    uint16_t port = 8888;
    //std::string ip = "127.0.0.1";
    Scream();
    UdpServer sver(port);
    //make_unique<UdpSever>(port, ip)是C++14的写法
    //std::unique_ptr<UdpSever> usvr = std::make_unique<UdpSever>(port, ip);
    sver.InitServer();
    sver.Start();
    
    return 0;
}